package com.wsd.smartcarwasher.dao;


import com.wsd.smartcarwasher.domain.OfflineRecord;
import com.wsd.smartcarwasher.domain.OfflineRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface OfflineRecordMapper  {
    long countByExample(OfflineRecordExample example);

    int deleteByExample(OfflineRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OfflineRecord record);

    int insertSelective(OfflineRecord record);

    List<OfflineRecord> selectByExample(OfflineRecordExample example);

    OfflineRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OfflineRecord record, @Param("example") OfflineRecordExample example);

    int updateByExample(@Param("record") OfflineRecord record, @Param("example") OfflineRecordExample example);

    int updateByPrimaryKeySelective(OfflineRecord record);

    int updateByPrimaryKey(OfflineRecord record);

    List<OfflineRecord> selectList(Integer machineid, String level, String eventcode, Date recordtime,Integer serviceid);
}